$def with(title, key, query='', subject='', sorts='', limit=None, min_books=7, test=False, compact_mode=False)

$ url = compose_ia_url(query=query, subject=subject, sorts=sorts, limit=limit, advanced=False)
$ books = generic_carousel(query=query, subject=subject, sorts=sorts, limit=limit) if not test else []
$ sorts = ','.join(sorts) if sorts else ''
$ load_more_url = '/browse.json?q=%s&subject=%s&sorts=%s' % (query, subject, sorts)
$:render_template("books/custom_carousel", books, title=title, url=url, key=key, min_books=min_books, load_more={"url": load_more_url, "mode": "page", "limit": limit}, test=test, compact_mode=compact_mode)
